package com.stage.singleton;

/**
 * Created by Stage on 2017/3/17.
 */
//饿汉式
public class Singleton {

    private static Singleton singleton = new Singleton();

    private Singleton() {
        // ToDo  do somthing here
    }

    public static Singleton getInstance() {
        return singleton;
    }
}